package com.xmyr.cachedemo.sevice;

import com.xmyr.cachedemo.pojo.DemoModel;

/**
 * @author CCQ(QQ or weChat : 1330845068 ( 寻梦依然))
 * @version 1.0
 * @date 2022/3/27 11:51
 */
public interface IDemoService {

    DemoModel getById(Long id);

    Boolean save(DemoModel model);

    DemoModel updateById(Long id,String username);

    Boolean deleteById(Long id);
}
